package com.ztesoft.sca.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.ztesoft.sca.dao.ImButtonDao;
import com.ztesoft.sca.model.ImButtonDto;

@Service
public class ImButtonServiceImpl implements ImButtonService{
  private ImButtonDao imButtonDao;
  
  @Override
  public List<ImButtonDto> listImButton(ImButtonDto imButton, int from, int size)
		throws Exception {
	  return imButtonDao.listImButton(imButton, from, size);
  }
  @Override
  public void insertImButton(ImButtonDto imButton) throws Exception {
	  imButtonDao.insertImButton(imButton);	
  }
  @Override
  public void delImButton(ImButtonDto imButton) throws Exception {
	  imButtonDao.delImButton(imButton);
  }
  @Override
  public void modifyImButton(ImButtonDto imButton) throws Exception {
	  imButtonDao.modifyImButton(imButton);
  }
}



